Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing improvements #42

Merged
merged 2 commits into from
Jan 8, 2024
Merged

Testing improvements #42

merged 2 commits into from
Jan 8, 2024

Conversation

GeorgeGoodall
Copy link
Contributor

Ticket: https://trello.com/c/26DCaM71/1161-add-some-additional-tests-to-the-frontend

Just a ticket that adds some more testing

const fileChooserPromise = page.waitForEvent('filechooser')
await page.getByText('Upload data').click()
const fileChooser = await fileChooserPromise
await fileChooser.setFiles('test/testData/conservation-area-errors.csv')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I were being really nitpicky it might be helpful if you could name the file with which errors were in it for other people looking at it later, e.g 'conservation-area-missing-reference(-error?).csv'

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there's only one file with errors that i have. and it has missing ref and invalid values

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay fair

@GeorgeGoodall GeorgeGoodall merged commit 2211a9c into main Jan 8, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants